#include "Item.h"


Item::~Item()
{
}


Item::Item(const Item& i)
{
	itemName = i.getName();
	price = i.getPrice();
	weight = i.getWeight();
}


Item& Item::operator=(const Item& i)
{
	if (this != &i)
	{
		this->itemName = i.getName();
		this->price = i.getPrice();
		this->weight = i.getWeight();
	}
	return *this;
}